import { TViewConfig, ViewId, ViewLayer } from "../../frame/common/view/IView";
import { MyBundleName } from "../../frame/mgr/BundleMgr";
import { CommonMultiView } from "./CommonMultiView";
import { DemoPageView } from "./DemoPageView";


export class DemoveViewConfig {

    static firstMulti: TViewConfig =
        {
            id: ViewId.DEMO_FIRST_MULTI,
            name: CommonMultiView.name,
            bundleName: MyBundleName.demo_view,
            prefabName: "DemoFirstMultiView",
            layer: ViewLayer.FULL,
            resArr: [],
            viewClazz: CommonMultiView,
            label:"根容器",
            icon:"",
        }

    static first1: TViewConfig =
        {
            id: ViewId.DEMO_FIRST_1,
            name: DemoPageView.name,
            bundleName: MyBundleName.demo_view,
            prefabName: DemoPageView.name,
            layer: ViewLayer.FULL,
            resArr: [],
            viewClazz: DemoPageView,
            label:"1层\n1页",
            icon:"",
        }

    static first2: TViewConfig =
        {
            id: ViewId.DEMO_FIRST_2,
            name: DemoPageView.name,
            bundleName: MyBundleName.demo_view,
            prefabName: DemoPageView.name,
            layer: ViewLayer.FULL,
            resArr: [],
            viewClazz: DemoPageView,
            label:"1层\n2页",
            icon:"",
        }

    static first3: TViewConfig =
        {
            id: ViewId.DEMO_FIRST_3,
            name: DemoPageView.name,
            bundleName: MyBundleName.demo_view,
            prefabName: DemoPageView.name,
            layer: ViewLayer.FULL,
            resArr: [],
            viewClazz: DemoPageView,
            label:"1层\n3页",
            icon:"",
        }

    static secondMulti: TViewConfig =
        {
            id: ViewId.DEMO_SECOND_MULTI,
            name: CommonMultiView.name,
            bundleName: MyBundleName.demo_view,
            prefabName: "DemoSecondMultiView",
            layer: ViewLayer.FULL,
            resArr: [],
            viewClazz: CommonMultiView,
            label:"1层\n4页",
            icon:"",
        }

    static second1: TViewConfig =
        {
            id: ViewId.DEMO_SECOND_1,
            name: DemoPageView.name,
            bundleName: MyBundleName.demo_view,
            prefabName: DemoPageView.name,
            layer: ViewLayer.FULL,
            resArr: [],
            viewClazz: DemoPageView,
            label:"2层\n1页",
            icon:"",
        }

    static second2: TViewConfig =
        {
            id: ViewId.DEMO_SECOND_2,
            name: DemoPageView.name,
            bundleName: MyBundleName.demo_view,
            prefabName: DemoPageView.name,
            layer: ViewLayer.FULL,
            resArr: [],
            viewClazz: DemoPageView,
            label:"2层\n2页",
            icon:"",
        }

    static thirdMulti: TViewConfig =
        {
            id: ViewId.DEMO_THIRD_MULTI,
            name: CommonMultiView.name,
            bundleName: MyBundleName.demo_view,
            prefabName: "DemoThirdMultiView",
            layer: ViewLayer.FULL,
            resArr: [],
            viewClazz: CommonMultiView,
            label:"2层\n3页",
            icon:"",
        }

    static third1: TViewConfig =
        {
            id: ViewId.DEMO_THIRD_1,
            name: DemoPageView.name,
            bundleName: MyBundleName.demo_view,
            prefabName: DemoPageView.name,
            layer: ViewLayer.FULL,
            resArr: [],
            viewClazz: DemoPageView,
            label:"3层\n1页",
            icon:"",
        }

    static third2: TViewConfig =
        {
            id: ViewId.DEMO_THIRD_2,
            name: DemoPageView.name,
            bundleName: MyBundleName.demo_view,
            prefabName: DemoPageView.name,
            layer: ViewLayer.FULL,
            resArr: [],
            viewClazz: DemoPageView,
            label:"3层\n2页",
            icon:"",
        }

    static third3: TViewConfig =
        {
            id: ViewId.DEMO_THIRD_3,
            name: DemoPageView.name,
            bundleName: MyBundleName.demo_view,
            prefabName: DemoPageView.name,
            layer: ViewLayer.FULL,
            resArr: [],
            viewClazz: DemoPageView,
            label:"3层\n3页",
            icon:"",
        }

}